package com.jeeplus.modules.monitor.model.configuration;

/**
 * Created by jieRong on 2016/6/1.
 */
public class AttentionXml {
    //公众号
    String ToUserName;
    //客户opId
    String FromUserName;
    //时间
    String CreateTime;
    //消息类型
    String MsgType;
    //事件类型，subscribe(订阅)、unsubscribe(取消订阅)
    String Event;
    //消息内容
    String Content;
    //图片消息
    String PicUrl;
    //素材ID
    String MediaId;
    //语音格式
    String Format;
    //语音识别结果，UTF8编码
    String Recognition;
    //视频消息
    String ThumbMediaId;
    //对方ID
    String MsgId;
    //地理位置维度
    String Location_X;
    //地理位置经度
    String Location_Y;
    //地理位置信息
    String Label;
    //上报地理位置纬度
    String Latitude;
    //上报的地理位置经度
    String Longitude;
    //上报的地理位置精度
    String Precision;
    //	消息标题
    String Title;
    //	消息描述
    String Description;
    //		消息链接
    String Url;
    //		消息链接
    String EventKey;
    String Ticket;

    public AttentionXml(String toUserName, String fromUserName, String createTime, String msgType, String event, String content, String picUrl, String mediaId, String format, String recognition, String thumbMediaId, String msgId, String location_X, String location_Y, String label, String latitude, String longitude, String precision, String title, String description, String url, String eventKey) {
        ToUserName = toUserName;
        FromUserName = fromUserName;
        CreateTime = createTime;
        MsgType = msgType;
        Event = event;
        Content = content;
        PicUrl = picUrl;
        MediaId = mediaId;
        Format = format;
        Recognition = recognition;
        ThumbMediaId = thumbMediaId;
        MsgId = msgId;
        Location_X = location_X;
        Location_Y = location_Y;
        Label = label;
        Latitude = latitude;
        Longitude = longitude;
        Precision = precision;
        Title = title;
        Description = description;
        Url = url;
        EventKey = eventKey;
    }
    public AttentionXml() {
        super();
    }

    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    public String getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(String createTime) {
        CreateTime = createTime;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public String getEvent() {
        return Event;
    }

    public void setEvent(String event) {
        Event = event;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public String getPicUrl() {
        return PicUrl;
    }

    public void setPicUrl(String picUrl) {
        PicUrl = picUrl;
    }

    public String getMediaId() {
        return MediaId;
    }

    public void setMediaId(String mediaId) {
        MediaId = mediaId;
    }

    public String getFormat() {
        return Format;
    }

    public void setFormat(String format) {
        Format = format;
    }

    public String getRecognition() {
        return Recognition;
    }

    public void setRecognition(String recognition) {
        Recognition = recognition;
    }

    public String getThumbMediaId() {
        return ThumbMediaId;
    }

    public void setThumbMediaId(String thumbMediaId) {
        ThumbMediaId = thumbMediaId;
    }

    public String getMsgId() {
        return MsgId;
    }

    public void setMsgId(String msgId) {
        MsgId = msgId;
    }

    public String getLocation_X() {
        return Location_X;
    }

    public void setLocation_X(String location_X) {
        Location_X = location_X;
    }

    public String getLocation_Y() {
        return Location_Y;
    }

    public void setLocation_Y(String location_Y) {
        Location_Y = location_Y;
    }

    public String getLabel() {
        return Label;
    }

    public void setLabel(String label) {
        Label = label;
    }

    public String getLatitude() {
        return Latitude;
    }

    public void setLatitude(String latitude) {
        Latitude = latitude;
    }

    public String getLongitude() {
        return Longitude;
    }

    public void setLongitude(String longitude) {
        Longitude = longitude;
    }

    public String getPrecision() {
        return Precision;
    }

    public void setPrecision(String precision) {
        Precision = precision;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public String getUrl() {
        return Url;
    }

    public void setUrl(String url) {
        Url = url;
    }

    public String getEventKey() {
        return EventKey;
    }

    public void setEventKey(String eventKey) {
        EventKey = eventKey;
    }

    public String getTicket() {
        return Ticket;
    }

    public void setTicket(String ticket) {
        Ticket = ticket;
    }

    @Override
    public String toString() {
        return "AttentionXml{" +
                "ToUserName='" + ToUserName + '\'' +
                ", FromUserName='" + FromUserName + '\'' +
                ", CreateTime='" + CreateTime + '\'' +
                ", MsgType='" + MsgType + '\'' +
                ", Event='" + Event + '\'' +
                ", Content='" + Content + '\'' +
                ", PicUrl='" + PicUrl + '\'' +
                ", MediaId='" + MediaId + '\'' +
                ", Format='" + Format + '\'' +
                ", Recognition='" + Recognition + '\'' +
                ", ThumbMediaId='" + ThumbMediaId + '\'' +
                ", MsgId='" + MsgId + '\'' +
                ", Location_X='" + Location_X + '\'' +
                ", Location_Y='" + Location_Y + '\'' +
                ", Label='" + Label + '\'' +
                ", Latitude='" + Latitude + '\'' +
                ", Longitude='" + Longitude + '\'' +
                ", Precision='" + Precision + '\'' +
                ", Title='" + Title + '\'' +
                ", Description='" + Description + '\'' +
                ", Url='" + Url + '\'' +
                ", EventKey='" + EventKey + '\'' +
                ", Ticket='" + Ticket + '\'' +
                '}';
    }
}
